//
//  WithoutCollectionViewCell.m
//  Civacrm
//
//  Created by mubei on 17/2/24.
//  Copyright © 2017年 王桂敏. All rights reserved.
//

#import "WithoutCollectionViewCell.h"

@implementation WithoutCollectionViewCell
- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        [self createView];
    }
    return self;
}

- (void)createView{
    self.withOutImageView = [[UIImageView alloc] init];
    self.withOutImageView.image = Image(@"bg_zanwushuju");
    self.backgroundColor = ColorWithHexString(@"f2f8fa");
    
    [self addSubview:self.withOutImageView];
    
}

- (void)layoutSubviews{
    [super layoutSubviews];
    
    self.withOutImageView.frame = CGRectMake(0, 0, w(193), h(220));
    self.withOutImageView.centerX = self.width/2;
    self.withOutImageView.centerY = self.height/2;
    
}
    
@end
